#pragma warning(disable : 4996)
#include"Binary.h"
int main()
{
	char arr[] = "ABD##E#H##CF##G##";
	int a = 0;
	BTNode*tree= BinaryTreeCreate(arr,&a);
	int b = BinaryTreeSize(tree);
	int c = BinaryTreeLevelKSize(tree, 2);
	int k = BinaryTreeHight(tree);
	//printf("%c", BinaryTreeFind(tree, 'G')->_data);
	BinaryTreePrevOrder(tree);
	printf("\n");
	BinaryTreeInOrder(tree);
	printf("\n");
	BinaryTreePostOrder(tree);
	printf("\n");
	BinaryTreeLevelOrder(tree);
	bool n= BinaryTreeComplete(tree);
	BinaryTreeDestory(&tree);
	

	return 0;
}